home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Full / Paragon Drive Backup 9 / DB90_SE_x32.msi / Data1.cab / _73FF071670CC4D69BEF4A63F28E12D5D < prev    next >
Extensible Markup Language  |  2008-06-28  |  5KB  |  149 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <xsl:stylesheet
  4.   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  5.   xmlns:msxsl="urn:schemas-microsoft-com:xslt"
  6.   version="1.0">
  7.  
  8. <xsl:output
  9.   method="html"
  10.   version="4.0"
  11.   encoding="UTF-8"
  12.   omit-xml-declaration="yes"
  13.   indent="yes"/>
  14.  
  15. <xsl:template match="/Root">
  16.  
  17. <html>
  18.   <center>
  19.     <table cellpadding="0" cellspacing="0" border="0" width="90%">
  20.  
  21.     <xsl:variable name="PartStatus" select="PropertyBag/Property[@name='PARTITION_STATUS']"/>
  22.  
  23.     <tr>
  24.       <td width="30%" valign="center" align="center">
  25.  
  26.         <xsl:choose>
  27.           <xsl:when test="$PartStatus != 'VALID'">
  28.             <img src="error_large"/>
  29.           </xsl:when>
  30.           <xsl:otherwise>
  31.             <img src='<pss:image internal="PROPID_SMALLICON"/>'/>
  32.           </xsl:otherwise>
  33.         </xsl:choose>
  34.  
  35.        </td>
  36.  
  37.         <td colspan="4" valign="center" align="left">
  38.             <xsl:choose>
  39.               <xsl:when test="$PartStatus != 'VALID'">
  40.                 <b>
  41.                 <p/>
  42.                     <xsl:value-of select="PropertyBag/Property[@name='PARTITION_ERROR_HEADER']"/>
  43.                 </b>
  44.                 <p/>
  45.                 <xsl:value-of select="PropertyBag/Property[@name='PARTITION_ERROR_DESCRIPTION']"/>
  46.               </xsl:when>
  47.               <xsl:otherwise>
  48.                 <b>
  49.                     <xsl:value-of select="PropertyBag/Property[@name='PROPID_DISPLAYNAME']"/>,
  50.                     <xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_VOLUMELABEL']"/>
  51.                 </b>
  52.               </xsl:otherwise>
  53.           </xsl:choose>
  54.         </td>
  55.     </tr>
  56.  
  57.  
  58.       <tr>
  59.         <td colspan="5" valign="bottom"><hr/></td>
  60.       </tr>
  61.  
  62.       <tr>
  63.         <td>
  64.       <nobr>QT_TRANSLATE_NOOP("QObject", "Type:")</nobr>
  65.     </td>
  66.  
  67.   <td colspan="4">
  68.       <xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_TYPESTRING']"/>
  69.     </td>
  70.       </tr>
  71.  
  72.       <tr>
  73.         <td>
  74.       <nobr>QT_TRANSLATE_NOOP("QObject", "File System:")</nobr>
  75.     </td>
  76.   <td colspan="4">
  77.       <xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_FSNAME']"/>
  78.     </td>
  79.       </tr>
  80.  
  81.       <tr>
  82.         <td>
  83.       <nobr>QT_TRANSLATE_NOOP("QObject", "Capacity:")</nobr>
  84.     </td>
  85.   <td colspan="4">
  86.       <xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_SIZESTRING']"/>
  87.     </td>
  88.       </tr>
  89.  
  90.       <tr>
  91.         <td>
  92.       <nobr>QT_TRANSLATE_NOOP("QObject", "Used space:")</nobr>
  93.     </td>
  94.   <td colspan="4">
  95.       <xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_DATASIZESTRING']"/>
  96.     </td>
  97.       </tr>
  98.  
  99.       <tr>
  100.         <td>
  101.       <nobr>QT_TRANSLATE_NOOP("QObject", "Sectors per cluster:")</nobr>
  102.     </td>
  103.   <td colspan="4">
  104.       <xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_CLUSTERSIZE']"/>
  105.     </td>
  106.       </tr>
  107.  
  108.       <tr>
  109.         <td colspan="5" valign="bottom"><hr/></td>
  110.       </tr>
  111.  
  112.       <tr>
  113.         <td></td>
  114.         <TD align="right">QT_TRANSLATE_NOOP("QObject", "Sector No:")</TD>
  115.         <TD align="right">QT_TRANSLATE_NOOP("QObject", "Cyl:")</TD>
  116.         <TD align="right">QT_TRANSLATE_NOOP("QObject", "Hd:")</TD>
  117.         <TD align="right">QT_TRANSLATE_NOOP("QObject", "Sec:")</TD>
  118.       </tr>
  119.     <tr>
  120.       <TD align="left"><nobr>QT_TRANSLATE_NOOP("QObject", "First physical sector:")</nobr></TD>
  121.       <TD align="right"><nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_STARTINSECTORS_STRING']"/></nobr></TD>
  122.       <TD align="right"><nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_CHS_START_CYL']"/></nobr></TD>
  123.       <TD align="right"><nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_CHS_START_HEAD']"/></nobr></TD>
  124.       <TD align="right"><nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_CHS_START_SEC']"/></nobr></TD>
  125.     </tr>
  126.     <tr>
  127.       <TD align="left"><nobr>QT_TRANSLATE_NOOP("QObject", "Last physical sector:")</nobr></TD>
  128.       <TD align="right"><nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_ENDINSECTORS_STRING']"/></nobr></TD>
  129.       <TD align="right"><nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_CHS_END_CYL']"/></nobr></TD>
  130.       <TD align="right"><nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_CHS_END_HEAD']"/></nobr></TD>
  131.       <TD align="right"><nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_CHS_END_SEC']"/></nobr></TD>
  132.    </tr>
  133.    <tr>
  134.       <td colspan="5" valign="bottom"><hr/></td>
  135.    </tr>
  136.    <TR>
  137.       <TD><nobr>QT_TRANSLATE_NOOP("QObject", "Hard disk geometry:")</nobr></TD>
  138.       <TD></TD>
  139.       <TD align="right"><nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_CYLINDERS']"/></nobr></TD>
  140.       <TD align="right"><nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_HEADS']"/></nobr></TD>
  141.       <TD align="right"><nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_SECTORSPERTRACK']"/></nobr></TD>
  142.    </TR>
  143.  
  144.     </table>
  145.   </center>
  146. </html>
  147. </xsl:template>
  148. </xsl:stylesheet>
  149.